package com.ag.bean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
 * TbFeedbackAnnex entity.
 * 
 * @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "TB_FEEDBACK_ANNEX", schema = "dbo", catalog = "AGDB")
public class TbFeedbackAnnex implements java.io.Serializable {

	// Fields

	private String taId;
	private TbTaskFeedback tbTaskFeedback;
	private String tcId;
	private String taName;
	private String taAddress;
	private String a;
	private String b;
	private String c;

	// Constructors

	/** default constructor */
	public TbFeedbackAnnex() {
	}

	/** minimal constructor */
	public TbFeedbackAnnex(String taId, String taName, String taAddress) {
		this.taId = taId;
		this.taName = taName;
		this.taAddress = taAddress;
	}

	/** full constructor */
	public TbFeedbackAnnex(String taId, TbTaskFeedback tbTaskFeedback,
			String tcId, String taName, String taAddress, String a, String b,
			String c) {
		this.taId = taId;
		this.tbTaskFeedback = tbTaskFeedback;
		this.tcId = tcId;
		this.taName = taName;
		this.taAddress = taAddress;
		this.a = a;
		this.b = b;
		this.c = c;
	}

	// Property accessors
	@Id
	@Column(name = "TA_ID", unique = true, nullable = false, length = 40)
	public String getTaId() {
		return this.taId;
	}

	public void setTaId(String taId) {
		this.taId = taId;
	}

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "TF_ID")
	public TbTaskFeedback getTbTaskFeedback() {
		return this.tbTaskFeedback;
	}

	public void setTbTaskFeedback(TbTaskFeedback tbTaskFeedback) {
		this.tbTaskFeedback = tbTaskFeedback;
	}

	@Column(name = "TC_ID", length = 10)
	public String getTcId() {
		return this.tcId;
	}

	public void setTcId(String tcId) {
		this.tcId = tcId;
	}

	@Column(name = "TA_NAME", length = 100)
	public String getTaName() {
		return this.taName;
	}

	public void setTaName(String taName) {
		this.taName = taName;
	}

	@Column(name = "TA_ADDRESS", length = 256)
	public String getTaAddress() {
		return this.taAddress;
	}

	public void setTaAddress(String taAddress) {
		this.taAddress = taAddress;
	}

	@Column(name = "A", length = 60)
	public String getA() {
		return this.a;
	}

	public void setA(String a) {
		this.a = a;
	}

	@Column(name = "B", length = 60)
	public String getB() {
		return this.b;
	}

	public void setB(String b) {
		this.b = b;
	}

	@Column(name = "C", length = 60)
	public String getC() {
		return this.c;
	}

	public void setC(String c) {
		this.c = c;
	}

}